Audio controlling apparatus, audio correction apparatus, and audio correction method

ABSTRACT

According to one embodiment, an audio controlling apparatus includes a first receiver configured to receive audio signal, a second receiver configured to receive environmental sound, a temporary gain calculator configured to calculate temporary gain based on environmental sound received by second receiver, a sound type determination module configured to determine sound type of main component of audio signal received by first receiver, and a gain controller configured to stabilize temporary gain that is calculated by temporary gain calculator and set gain, when it is determined that sound type of main component of audio signal received by first receiver is music.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is based upon and claims the benefit of priority fromprior Japanese Patent Application No. 2011-141098, filed Jun. 24, 2011,the entire contents of which are incorporated herein by reference.

FIELD

Embodiments described herein relate generally to an audio controllingapparatus, an audio correction apparatus, and an audio correctionmethod.

BACKGROUND

In prior art, audio correction apparatuses which performs correction foraudio signals and thereby can achieve increase in sound quality aregenerally known. The audio correction apparatuses detect, for example, asurrounding background noise (environmental sound), and performs soundvolume control and equalizing processing according to the frequency forthe audio signal, based on the detected environmental sound.

The audio correction apparatuses calculate a gain based on the level ofthe environmental sound for each frequency band. The audio correctionapparatuses perform correction by multiplying the audio signal by thecalculated gain. Specifically, the audio correction apparatusessuccessively determine the gain used when the audio signal is corrected,according to the level of the environmental sound. Therefore, when anenvironmental sound which varies with lapse of time is generated, theaudio signal which is corrected by the audio correction apparatuses mayprovide the user with a feeling that something is wrong.

For example, when a momentary environmental sound is generated, theaudio correction apparatuses abruptly change the gain. The audiocorrection apparatuses abruptly correct the audio signal based on thecalculated gain. As a result, there is the problem that the correctedaudio signal may provide the user with a feeling that something iswrong.

BRIEF DESCRIPTION OF THE DRAWINGS

A general architecture that implements the various features of theembodiments will now be described with reference to the drawings. Thedrawings and the associated descriptions are provided to illustrate theembodiments and not to limit the scope of the invention.

FIG. 1 is an exemplary view for explaining a broadcasting receiveraccording to an embodiment.

FIG. 2 is an exemplary view for explaining an audio controller accordingto the embodiment.

FIG. 3 is an exemplary view for explaining processing performed by theaudio controller according to the embodiment.

FIG. 4 is an exemplary view for explaining processing performed by theaudio controller according to the embodiment.

FIG. 5 is an exemplary view for explaining processing performed by theaudio controller according to the embodiment.

FIG. 6 is an exemplary view for explaining processing performed by theaudio controller according to the embodiment.

FIG. 7 is an exemplary view for explaining processing performed by theaudio controller according to the embodiment.

FIG. 8 is an exemplary view for explaining processing performed by theaudio controller according to the embodiment.

FIG. 9 is an exemplary view for explaining processing performed by theaudio controller according to the embodiment.

FIG. 10 is an exemplary view for explaining processing performed by theaudio controller according to the embodiment.

FIG. 11 is an exemplary view for explaining processing performed by theaudio controller according to the embodiment.

DETAILED DESCRIPTION

Various embodiments will be described hereinafter with reference to theaccompanying drawings. In general, according to one embodiment, an audiocontrolling apparatus is provided connected to an audio correctionapparatus that includes an audio correction module that corrects anaudio signal. The audio controlling apparatus includes a first receiverconfigured to receive the audio signal, a second receiver configured toreceive an environmental sound, a temporary gain calculator configuredto calculate a temporary gain based on the environmental sound receivedby the second receiver, a sound type determination module configured todetermine a sound type of a main component of the audio signal receivedby the first receiver, a gain controller configured to stabilize thetemporary gain that is calculated by the temporary gain calculator andset a gain, when it is determined that the sound type of the maincomponent of the audio signal received by the first receiver is music,and an output module configured to output the gain that is set by thegain controller to the audio correction module of the audio correctionapparatus.

An audio controlling apparatus, an audio correction apparatus, and anaudio correction method according to an embodiment will be explained indetail hereinafter with reference to drawings.

FIG. 1 illustrates an example of a broadcasting receiver 100 accordingto an embodiment.

In the present embodiment, suppose that the broadcasting receiver 100displays an image on a liquid crystal display device based on content.

The broadcasting receiver 100 comprises a broadcasting input terminal101, a tuner 111, a demodulator 112, a signal processor 113, acommunication interface 114, a sound processor 121, a sound outputterminal 122, an environmental sound input terminal 124, an imageprocessor 131, an OSD processor 132, a display processor 133, an imageoutput terminal 135, a controller 150, an operation input module 161, alight-receiving module 162, a card connector 164, a USB connector 166,and a disk drive 170.

The broadcasting input terminal 101 is an input terminal, to whichdigital broadcasting signals that are received by, for example, anantenna 110 is inputted. The antenna 110 receives, for example,ground-wave digital broadcasting signals, BS (broadcasting satellite)digital broadcasting signals, and/or 110° CS (communication satellite)digital broadcasting signals. Specifically, contents such as programsthat are supplied by broadcasting signals are inputted to thebroadcasting input terminal 101.

The broadcasting input terminal 101 supplies the received digitalbroadcasting signals to the tuner 111. The tuner 111 is a digitalbroadcasting signal tuner. The tuner 111 performs tuning (selection) ofthe digital broadcasting signals supplied from the antenna 110. Thetuner 111 transmits a tuned digital broadcasting signal to thedemodulator 112.

The demodulator 112 demodulates the received digital broadcastingsignal. The demodulator 112 inputs the demodulated digital broadcastingsignal (content) to the signal processor 113. Specifically, the antenna110, the tuner 111, and the demodulator 112 function as receiving meansfor receiving content.

The signal processor 113 functions as signal processing means forperforming signal processing on the digital broadcasting signal(moving-image content data). The signal processor 113 performs signalprocessing on the digital broadcasting signal supplied from thedemodulator 112. Specifically, the signal processor 113 divides thedigital broadcasting signal into an image signal, a sound signal, andanother data signal. The signal processor 113 supplies the sound signalto the sound processor 121. In addition, the signal processor 113supplies the image signal to the image processor 131. The signalprocessor 113 also supplies the data signal to the controller 150 and/orthe OSD processor 132.

The communication interface 114 includes an interface, such as an HDMI(High Definition Multimedia Interface), which can receive content. Thecommunication interface 114 receives multiplex content, which includes adigital image signal and a digital sound signal, from another apparatus.The communication interface 114 supplies a digital signal (content)received from another apparatus to the signal processor 113.Specifically, the communication interface 114 functions as receivingmeans for receiving content.

The signal processor 113 performs signal processing on the digitalsignal that is received from the communication interface 114. Forexample, the signal processor 113 divides the digital signal into adigital image signal, a digital sound signal, and a data signal. Thesignal processor 113 supplies the digital sound signal to the soundprocessor 121. In addition, the signal processor 113 supplies thedigital image signal to the image processor 131. The signal processor113 also supplies the data signal to the controller 150 and/or the OSDprocessor 132.

The signal processor 113 selects one of the content which is inputted tothe communication interface 114, and the content which is inputted tothe broadcasting input terminal 101, and performs signal processing onthe selected content. Specifically, the signal processor 113 performssignal dividing processing on one of the digital broadcasting signal andthe digital signal.

The sound processor 121 converts the digital sound signal received fromthe signal processor 113 into a signal (audio signal) of a format whichcan be played back by a speaker 300. The sound processor 121 outputs theaudio signal to the sound output terminal 122. The sound output terminal122 outputs the supplied audio signal to the outside of the apparatus.Thereby, the speaker 300 which is connected to the sound output terminal122 plays back sound based on the supplied audio signal.

The audio signal includes various types of sounds according to thecontent. For example, the audio signal such as a TV program includes asignal based on a speech (speech) generated by a person, music (music),and various noises (background noise). The noise in this case includes,for example, applause, cheers, and other various noises.

The environmental sound input terminal 124 is a terminal to which adevice which detects sound, such as a microphone 500, is connected. Themicrophone 500 is provided in the vicinity of the broadcasting receiver100, detects surrounding sound (background noise) around thebroadcasting receiver 100, and converts the sound into a signal. Themicrophone 500 supplies the signal to the environmental sound inputterminal 124. The environmental sound input terminal 124 supplies thesignal supplied from the microphone 500 as environmental sound to thesound processor 121.

The image processor 131 converts an image signal received from thesignal processor 113 into an image signal of a format which can beplayed back by a display 400. Specifically, the image processor 131decodes (plays back) the image signal received from the signal processor113 into an image signal of a format which can be played back by thedisplay 400. In addition, the image processor 131 superposes the OSDsignal which is supplied from the OSD processor 132 on the image signal.The image processor 131 outputs the image signal to the displayprocessor 133.

The OSD processor 132 generates an OSD signal to display a GUI (GraphicUser Interface) picture, subtitles, time, and other information on thescreen, based on the data signal supplied from the signal processor 113,and/or the control signal supplied from the controller 150.

The display processor 133 performs image quality control processing forcolor, brightness, sharpness, contrast, and other properties, on thereceived image signal, based on control from the controller 150. Thedisplay controller 133 outputs the image signal which has been subjectedto image quality control to the image output terminal 135. Thereby, thedisplay 400 which is connected to the image output terminal 135 displaysan image based on the supplied image signal.

The display 400 includes, for example, a liquid crystal display devicewhich includes a liquid crystal display panel that includes a pluralityof pixels that are arranged in rows and columns, and a backlight thatilluminates the liquid crystal panel. The display 400 displays an imagebased on the image signal supplied from the broadcasting receiver 100.

The broadcasting receiver 100 may have a structure in which the display400 is included in the receiver, instead of the image output terminal135. The broadcasting receiver 100 may have a structure in which thespeaker 300 is included in the receiver, instead of the sound outputterminal 122.

The controller 150 functions as control means for controlling operationsof the modules in the broadcasting receiver 100. The controller 150includes a CPU 151, a ROM 152, a RAM 153, and an EEPROM 154. Thecontroller 150 performs various processing, based on an operation signalsupplied from the operation input module 161.

The CPU 151 includes an operation unit which executes various operationprocessing. The CPU 151 realizes various functions by executing programsstored in the ROM 152 or the EEPROM 154.

The ROM 152 stores a program to control the broadcasting receiver 100,and programs to execute various functions. The CPU 151 starts a programstored in the ROM 152, based on an operation signal supplied from theoperation input module 161. Thereby, the controller 150 controlsoperations of the modules.

The RAM 153 functions as a work memory of the CPU 151. Specifically, theRAM 153 stores an operation result of the CPU 151, and data read by theCPU 151.

The EEPROM 154 is a nonvolatile memory which stores various settinginformation items and programs.

The operation input module 161 is input means which includes operationkeys, a keyboard, a mouse, a touch pad, or another input device whichcan generate an operation signal in response to an operation. Forexample, the operation input module 161 generates an operation signal inresponse to an operation. The operation input module 161 supplies thegenerated operation signal to the controller 150.

The touch pad includes an electrostatic sensor, a thermo sensor, or adevice which generates positional information based on another method.When the broadcasting receiver 100 includes the display 400, theoperation input module 161 may have a structure of including a touchpanel which is formed as one unitary piece with the display 400.

The light-receiving module 162 includes, for example, a sensor whichreceives an operation signal from a remote controller 163. Thelight-receiving module 162 supplies the received operation signal to thecontroller 150. The remote controller 163 generates an operation signalbased on a user's operation. The remote controller 163 transmits thegenerated operation signal to the light-receiving module 162 by infraredcommunication. The light-receiving module 162 and the remote controller163 may have a structure of performing transmission/reception of theoperation signal by another wireless communication such as radiocommunication.

The card connector 164 is an interface to perform communication with,for example, a memory card 165 which stores moving-image content. Thecard connector 164 reads out moving-image content data from theconnected memory card 165, and supplies the content data to thecontroller 150.

The USB connector 166 is an interface to perform communication with aUSB device 167. The USB connector 166 supplies a signal supplied fromthe connected USB device 167 to the controller 150.

For example, when the USB device 167 is an operation input device suchas a keyboard, the USB connector 166 receives an operation signal fromthe USB device 167. The USB connector 166 supplies the receivedoperation signal to the controller 150. In this case, the controller 150executes various processing, based on the operation signal supplied fromthe USB connector 166.

In addition, for example, when the USB device 167 is a storage devicewhich stores moving-image content data, the USB connector 166 can obtainthe content from the USB device 167. The USB connector 166 supplies theobtained content to the controller 150.

The disk drive 170 includes a drive to which an optical disk M, such asa compact disk (CD), a digital versatile disk (DVD), a Blu-ray disk(registered trademark), and another optical disk which can storemoving-image content data, can be attached. The disk drive 170 reads outcontent from the attached optical disk M, and supplies the read contentto the controller 150.

The broadcasting receiver 100 also includes a power source (not shown).The power source supplies electric power to the modules of thebroadcasting receiver 100. The power source converts electric powerwhich is supplied through an AC adaptor or the like, and supplies theelectric power to the modules. The power source may include a battery.In such a case, the power source charges the battery with electric powersupplied through the AC adaptor or the like. The power source suppliesthe electric power stored in the battery to the modules of thebroadcasting receiver 100.

The broadcasting receiver 100 may also include another interface. Theinterface is, for example, a Serial-ATA, or a LAN port. The broadcastingreceiver 100 can obtain and play back content which is stored in adevice that is connected by the interface. The broadcasting receiver 100can output a played-back audio signal and image signal to a deviceconnected by the interface.

When the broadcasting receiver 100 is connected to a network through theinterface, the broadcasting receiver 100 can obtain and play backmoving-image content data on the network.

In addition, the broadcasting receiver 100 may include a storage devicesuch as a hard disk (HDD), a solid state disk (SDD), and a semiconductormemory. When the storage device stores moving-image content data, thebroadcasting receiver 100 can read out and play back the content storedin the storage device. Besides, the broadcasting receiver 100 can storea broadcasting signal, or content supplied by a network or the like, inthe storage device.

The sound processor 121 includes an audio controller 200. The audiocontroller 200 corrects an audio signal played back by the soundprocessor 121. Thereby, the audio controller 200 controls the audiosignal such that sound which can be heard more easily for the user isplayed back from the speaker 300. For example, the audio controller 200can correct the audio signal for each frequency, based on theenvironmental sound supplied from the environmental sound input terminal124 and the playback audio signal.

FIG. 2 illustrates an example of the audio controller 200 illustrated inFIG. 1.

As illustrated in FIG. 2, the audio controller 200 includes an inputterminal 210, an equalizer 220, an output terminal 230, a characteristicparameter calculator 240, a score calculator 250, an environmental soundanalyzer 260, and a gain controller 280.

The audio controller 200 corrects the audio signal such that the audiosignal is more easily heard by the user, based on the sound type of theaudio signal and the characteristic of the environmental sound which isdetected by the microphone 500 when the broadcasting receiver 100 playsback the audio signal. The environmental sound is a signal which isobtained by suppressing loop of sound outputted from the speaker 300 byan echo canceller or the like.

The input terminal 210 is receiving means for receiving an audio signalwhich is played back by the sound processor 121. The input terminal 210supplies the received audio signal to the equalizer 220, thecharacteristic parameter calculator 240, and the environmental soundanalyzer 260.

The equalizer 220 corrects the audio signal in accordance with a gaincharacteristic designated by the gain controller 280. The equalizer 220transmits the corrected audio signal (corrected audio signal) to theoutput terminal 230.

The output terminal 230 outputs the corrected audio signal corrected bythe equalizer 220. When the sound output terminal 122 is connected withthe output terminal 230, the output terminal 230 outputs the correctedaudio signal to the outside of the broadcasting receiver 100 through thesound output terminal 122. As a result, the speaker 300 connected to thesound output terminal 122 plays back sound based on the corrected audiosignal.

The characteristic parameter calculator 240 calculates variouscharacteristic parameters based on the audio signal. In this case, asillustrated in FIG. 3, the characteristic parameter calculator 240divides the audio signal into a plurality of frames of several hundredmilliseconds. The characteristic parameter calculator 240 furtherdivides each frame into a plurality of subframes of twenty or thirtymilliseconds.

FIG. 4 illustrates an example of operation of the audio controller 200.

First, the characteristic parameter calculator 240 of the audiocontroller 200 performs FFT processing (Fast Fourier Transform) on theaudio signal, and calculates a frequency characteristic (Step S11). Inaddition, the characteristic parameter calculator 240 calculatescharacteristic parameters based on the above frequency characteristicand a signal characteristic in a time domain (Step S12).

The characteristic parameter calculator 240 calculates variouscharacteristic parameters for each subframe. Therefore, thecharacteristic parameter calculator 240 obtains discriminationinformation for generating various characteristic parameters for eachsubframe. The characteristic parameter calculator 240 calculatesstatistics of the obtained discrimination information for each frame,and thereby calculates characteristic parameters.

Specifically, the characteristic parameter calculator 240 obtainsdiscrimination information to distinguish the speech signal and themusic signal for each subframe from the audio signal. In addition, thecharacteristic parameter calculator 240 obtains discriminationinformation to distinguish the music signal from noise for each subframefrom the audio signal. The characteristic parameter calculator 240 alsoobtains various discrimination information items to distinguish thespeech and music signals from the noise signal for each subframe fromthe audio signal.

For example, the characteristic parameter calculator 240 calculatesstatistics (for example, average, distribution, maximum, and minimum)for each frame based on the obtained various discrimination informationitems. Thereby, the characteristic parameter calculator 240 calculatesvarious characteristic parameters.

For example, the characteristic parameter calculator 240 calculatesvarious characteristic parameters to distinguish the speech signal fromthe music signal, based on the discrimination information. In addition,the characteristic parameter calculator 240 calculates variouscharacteristic parameters to distinguish the music signal from noisebased on the discrimination information. The characteristic parametercalculator 240 also calculates various characteristic parameters todistinguish the speech and music signals from the noise signal based onthe discrimination information.

For example, the characteristic parameter calculator 240 calculates asum of squares (power value) of the signal amplitude of the audio signalfor each subframe, as discrimination information. The characteristicparameter calculator 240 calculates statistics for each frame based onthe calculated power value, and thereby generates a characteristicparameter pw relating to the power value.

The characteristic parameter calculator 240 also calculates a zero-crossfrequency of the audio signal for each subframe as discriminationinformation. The zero-cross frequency is the number of times with whichthe audio signal crosses zero in the amplitude direction, when thehorizontal axis indicates time and the vertical axis indicatesamplitude. The characteristic parameter calculator 240 calculatesstatistics for each frame based on the calculated zero-cross frequency,and thereby generates a characteristic parameter zc relating to thezero-cross frequency.

In addition, the characteristic parameter calculator 240 calculatesspectral variation in a frequency region of the audio signal for eachsubframe, as discrimination information. The characteristic parametercalculator 240 calculates statistics for each frame based on thecalculated spectral variation, and thereby generates a characteristicparameter sf relating to spectral variation.

The characteristic parameter calculator 240 also calculates a powerratio (LR power ratio) of left and right (LR) signals of 2-channelstereo in the audio signal for each subframe, as distinctioninformation. The characteristic parameter calculator 240 calculatesstatistics for each frame based on the calculated LR power ratio, andthereby generates a characteristic parameter lr relating to the LR powerratio.

The characteristic parameter calculator 240 also calculates spectralflatness of the audio signal for each subframe, as discriminationinformation. The characteristic parameter calculator 240 calculatesstatistics for each frame based on the calculated spectral flatness, andthereby generates a characteristic parameter SFM relating to the noisesignal.

The characteristic parameter pw relating to the power value indicates adifference in signal power between subframes. For example, thecharacteristic parameter pw indicates distribution of the power valuebetween subframes. When the main component of the audio signal isspeech, the difference in signal power between subframes tends to belarge. Specifically, when the main component of the audio signal isspeech, the value of the characteristic parameter pw increases.

The characteristic parameter zc relating to the zero-cross frequencyindicates variation of the number of times with which the audio signalcrosses zero in the amplitude direction, when the horizontal axisindicates time and the vertical axis indicates amplitude, as describedabove. In the speech signal, the zero-cross frequency is high in aconsonant, and the zero-cross frequency is low in a vowel. Specifically,when the main component of the audio signal is speech, distribution ofthe value of the characteristic parameter zc relating to the zero-crossfrequency between subframes tends to increase.

The characteristic parameter sf relating to the spectral variationindicates spectral variation in the frequency region of the audio signalfor each subframe, as described above. The speech signal has sharpervariations in frequency characteristics than that of the music signal.Therefore, when the main component of the audio signal is speech,distribution of the characteristic parameter sf relating to the spectralvariation tends to be large.

The characteristic parameter lr relating to the LR power ratio indicatesa power ratio (LR power ratio) of left and right (LR) signals of2-channel stereo in the audio signal for each subframe, as describedabove. In the music signal, performances of musical instruments otherthan the vocal are often localized other than the center. Therefore,when the main component of the audio signal is music, the power ratiobetween the left and right channels tends to increase.

The characteristic parameter SFM relating to the noise signal is aparameter based on the spectral flatness of the audio signal for eachsubframe, as described above. The noise signal tends to form a flatspectrum. Therefore, when the main component of the audio signal isnoise, distribution of the audio signal between subframes tends todecrease.

The characteristic parameter calculator 240 supplies the generatedvarious characteristic parameters to the score calculator 250.

The score calculator 250 calculates a speech score SS, a music score SM,and a noise score SN, based on the above characteristic parameters (StepS13).

The score calculator 250 calculates a speech and music discriminationscore S1 which indicates whether the audio signal is close to speech ormusic, based on the various characteristic parameters supplied from thecharacteristic parameters 240. The score calculator 250 also calculatesa music and background sound discrimination score S2 which indicateswhether the audio signal is close to music or background noise, based onthe various characteristic parameters supplied from the characteristicparameter calculator 240.

The score calculator 250 includes a speech score calculator 251, a musicscore calculator 252, and a noise score calculator 253. The scorecalculator 250 calculates the speech score SS, the music score SM, andthe noise score SM, by the speech score calculator 251, the music scorecalculator 252, and the noise score calculator 253, respectively. Thescore calculator 250 calculates the speech score SS, the music score SM,and the noise score SN, based on the speech and music discriminationscore S1 and the music and background sound discrimination score S2. Thescore calculator 250 supplies the calculated speech score SS, the musicscore SM, and the noise score SN to the gain controller 280.

The environmental sound analyzer 260 subjects the environmental soundreceived by the environmental sound input terminal 124 to FFTprocessing, and thereby calculates a frequency characteristic (StepS14). In addition, the environmental sound analyzer 260 analyzes theenvironmental sound (Step S15). For example, the environmental soundanalyzer 260 compares the frequency characteristic with the audiosignal, and supplies a comparison result to the gain controller 280. Inaddition, for example, the environmental sound analyzer 260 regularizesthe environmental sound, and supplies the regularized value as a powervalue Pmic to the gain controller 280.

The gain controller 280 controls the gain in accordance with the maincomponent of the audio signal, based on the speech score SS, the musicscore SM, and the noise score SN which are supplied from the scorecalculator 250, and the comparison result supplied from theenvironmental sound analyzer 260 (Step S16). Thereby, the gaincontroller 280 determines the gain. The gain controller 280 supplies thegain to the equalizer 220.

The equalizer 220 corrects the audio signal, based on the gain suppliedfrom the gain controller 280, as described above. Specifically, theequalizer 220 multiplies the audio signal by the gain (Step S17), andthereby obtains a corrected audio signal. The equalizer 220 outputs thecorrected audio signal (Step S18).

Next, operation of the score calculator 250 will be explainedhereinafter in detail.

For example, the score calculator 250 calculates the speech and musicdiscrimination score S1 and the music and background sounddiscrimination score S2, by using a linear discrimination function.However, the score calculator 250 may use any method other than thelinear discrimination function.

The score calculator 250 stores in advance weight coefficients A and Bto be multiplied by the various characteristic parameters which arenecessary for calculating the speech and music discrimination score S1and the music and background sound discrimination score S2. The weightcoefficients of a larger value are provided for a characteristicparameter which has larger effect for identifying the sound type.Specifically, the weight coefficients A and B are stored in advance foreach characteristic parameter used for calculation of the scores.

The score calculator 250 selects a plurality of characteristicparameters (characteristic parameter set) to be used for calculation ofthe speech and music discrimination score S1, from the variouscharacteristic parameters calculated by the characteristic parametercalculator 240. The characteristic parameter set is represented by, forexample, a vector x.

When the characteristic parameter set x includes n characteristicparameters, the speech and music discrimination score S1 is calculatedby “S1=A0+A1·x1+A2·x2+ . . . +An·xn”.

The score calculator 250 also selects a plurality of characteristicparameters (characteristic parameter set) to be used for calculation ofthe music and background sound discrimination score S2, from the variouscharacteristic parameters calculated by the characteristic parametercalculator 240. The characteristic parameter set is represented by, forexample, a vector y.

When the characteristic parameter set y includes m characteristicparameters, the music and background sound discrimination score S2 iscalculated by “S2=B0+B1·y1+B2·y2+ . . . +Bm·ym”.

The coefficient A is set such that the difference between the speech andmusic discrimination score S1 and 1.0 is minimum when the main componentof the audio signal is music, and the difference between the speech andmusic discrimination score S1 and −1.0 is minimum when the maincomponent of the audio signal is speech.

The coefficient B is set such that the difference between the music andbackground sound discrimination score S2 and 1.0 is minimum when themain component of the audio signal is music, and the difference betweenthe music and background sound discrimination score S2 and −1.0 isminimum when the main component of the audio signal is background sound.

FIG. 5 to FIG. 7 illustrate an example of processing performed by theaudio controller 200.

The score calculator 250 calculates the speech and music discriminationscore S1 and the music and background sound discrimination score S2,based on the various characteristic parameters supplied from thecharacteristic parameter calculator 240 (Step S21).

The score calculator 250 determines whether the speech and musicdiscrimination score S1 is a negative number or not (Step S22). When itis determined at Step S22 that the speech and music discrimination scoreS1 is a negative number, the score calculator 250 determines whether themusic and background sound discrimination score S2 is a positive numberor not (Step S23).

When it is determined at Step S23 that the music and background sounddiscrimination score S2 is a positive number, the speech scorecalculator 251 of the score calculator 250 sets the speech score SS asthe absolute value of the speech and music discrimination score S1 (StepS24). In addition, the music score calculator 252 of the scorecalculator 250 sets the music score SM to “0” (Step S25).

When it is determined at Step S23 that the music and background sounddiscrimination score S2 is not a positive number, the speech scorecalculator 251 of the score calculator 250 sets the speech score SS to“SS=|S1|+αs·|S2|” (Step S2.6). Specifically, the speech score calculator251 adds a value obtained by correcting the absolute value of the musicand background sound discrimination score S2 by a preset coefficient αsto the absolute value of the speech and music discrimination score S1,to take the speech component included in the background noise includedin the audio signal into consideration. In addition, the music scorecalculator 252 of the score calculator 250 sets the music score SM to“0” (Step S27).

The score calculator 250 updates correction values (stabilizingcorrection values) SS3 and SM3 to stabilize the speech score SS and themusic score SM, respectively, which are calculated at Step S24 to StepS27 (Step S28). For example, when the speech score SS is a positivenumber (SS>0) successive Cs times or more, the score calculator 250updates the stabilizing correction value SS3 and the stabilizingcorrection value SM3.

In this case, the score calculator 250 updates the stabilizingcorrection value SS3 to a value (SS3+βs) which is obtained by adding apreset predetermined stabilizing coefficient βs to the alreadycalculated stabilizing correction value SS3, as a new stabilizingcorrection value SS3. In addition, the score calculator 250 updates thestabilizing correction value SM3 to a value (SM3-γm) which is obtainedby subtracting a preset predetermined stabilizing coefficient γm fromthe already calculated stabilizing correction value SM3, as a newstabilizing correction value SM3.

When it is determined at Step S22 that the speech and musicdiscrimination score S1 is not a negative number, the score calculator250 goes to Step S31 of FIG. 6. The score calculator 250 determineswhether the music and background sound discrimination score S2 is apositive number or not (Step S31).

When it is determined at Step S31 that the music and background sounddiscrimination score S2 is a positive number, the speech scorecalculator 251 of the score calculator 250 sets the speech score SS to“0” (Step S32). In addition, the music score calculator 252 of the scorecalculator 250 sets the music score SM as the speech and musicdiscrimination score S1 (Step S33).

When it is determined at Step S31 that the music and background sounddiscrimination score S2 is not a positive number, the speech scorecalculator 251 of the score calculator 250 sets the speech score SS to“SS=−S1+αs·|S2|” (Step S34). Specifically, the speech score calculator251 adds a value, which is obtained by correcting the absolute value ofthe music and background sound discrimination score S2 by a presetcoefficient αs, to a negative number (−S1) of the speech and musicdiscrimination score S1, to take the speech component included inbackground noise included in the audio signal into consideration.

In addition, the music score calculator 252 of the score calculator 250sets the music score SM to “SM=S1−αm·|S2|” (Step S35). Specifically, themusic score calculator 252 subtracts a value, which is obtained bycorrecting the absolute value of the music and background sounddiscrimination score S2 by a preset coefficient αm, from the speech andmusic discrimination score S1, to take the music component included inbackground noise included in the audio signal into consideration.

The score calculator 250 updates the correction values (stabilizingcorrection values) SS3 and SM3 to stabilize the speech score SS and themusic score SM calculated at Step S32 to Step S35 (Step S36). Forexample, when the music score SM is a positive number (SM>0) successiveCm times or more, the score calculator 250 updates the stabilizingcorrection value SS3 and the stabilizing correction value SM3.

In this case, the score calculator 250 updates the stabilizingcorrection value SS3 to a value (SS3-γs) which is obtained bysubtracting a preset predetermined stabilizing coefficient γs from thealready calculated stabilizing correction value SS3, as a newstabilizing correction value SS3. In addition, the score calculator 250updates the stabilizing correction value SM3 to a value (SM3+βm) whichis obtained by adding a preset predetermined stabilizing coefficient βmto the already calculated stabilizing correction value SM3, as a newstabilizing correction value SM3.

In addition, the score calculator 250 clips the stabilizing correctionvalue SS3 and the stabilizing correction value SM3 updated at Step S28of FIG. 5 and Step S36 of FIG. 6 (Step S29). Thereby, the scorecalculator 250 controls the stabilizing correction value SS3 and thestabilizing correction value SM3 to fall within a predetermined range.For example, the score calculator 250 performs control such that thestabilizing correction value SS3 has a value which falls within a range“SS3 min≦SS3≦SS3 max”. In addition, for example, the score calculator250 performs control such that the stabilizing correction value SM3 hasa value which falls within a range “SM3 min≦SM3≦SM3 max”.

Then, the score calculator 250 goes to Step S41 of FIG. 7. The scorecalculator 250 stabilizes the speech score SS and the music score SM,based on the stabilizing correction value SS3 and the stabilizingcorrection value SM3 clipped at Step S36 (Step S41). For example, thescore calculator 250 adds the stabilizing correction value SS3 to thealready calculated speech score SS. The score calculator 250 also addsthe stabilizing correction value SM3 to the already calculated musicscore SM.

The score calculator 250 calculates a noise and non-noise discriminationscore S3 (Step S42). For example, the score calculator 250 calculatesstatistics of the characteristic parameter SFM, and thereby generatesthe noise and non-noise discrimination score S3. In this case, the scorecalculator 250 calculates the noise and non-noise discrimination scoreS3, based on the spectral flatness for each of a plurality of frequencybands (low range, middle range, high range).

The score calculator 250 determines whether the noise and non-noisediscrimination score S3 is a positive number or not (Step S43). When itis determined at Step S43 that the noise and non-noise discriminationscore S3 is a positive number, the noise score calculator 253 of thescore calculator 250 sets the noise score SN as the noise and non-noisediscrimination score S3 (Step S44).

When it is determined at Step S43 that the noise and non-noisediscrimination score S3 is not a positive number, the noise scorecalculator 253 of the score calculator 250 sets the noise score SN to“0” (Step S45).

In addition, the score calculator 250 performs stabilizing correctionand clipping for the noise score SN set at Step S46 (Step S46).

The score calculator 250 performs inter-score adjustment correction(Step S47). Specifically, the score calculator 250 adjusts balancebetween the speech score SS, the music score SM, and the noise score SN.For example, when the music score SM and the noise score SN are largerthan preset values, the score calculator 250 corrects the music score SMto reduce the music score SM in accordance with the noise score SN.

The score calculator 250 supplies the speech score SS, the music scoreSM, and the noise score SN calculated by the above method to the gaincontroller 280.

The environmental sound analyzer 260 calculates a masking level, basedon the environmental sound received by the environmental sound inputterminal 124 and a preset masking characteristic. The maskingcharacteristic is obtained by numerically expressing human ears'sensitivity for sound for each frequency. For example, the environmentalsound analyzer 260 performs time-frequency transform on a signal of theenvironmental sound, and calculates a frequency characteristic of theenvironmental sound. The environmental sound analyzer 260 superposes themasking characteristic on the frequency characteristic of theenvironmental sound, and thereby calculates a masking level.

In addition, the environmental sound analyzer 260 calculates a maskinggain for each frequency, based on the masking level and the audiosignal. Thereby, the environmental sound analyzer 260 calculates amasking gain to correct the audio signal such that the audio signal isnot buried in the environmental sound.

As illustrated in FIG. 8, the environmental sound analyzer 260superposes the masking level on the frequency characteristic (power) ofthe audio signal. The environmental sound analyzer 260 calculates a gain(masking gain) to correct the frequency characteristic of the audiosignal to a value equal to or higher than the masking level, for eachfrequency band. The environmental sound analyzer 260 supplies thecalculated masking gains to the gain controller 280.

Next, operation of the gain controller 280 will be explained in detailhereinafter.

FIG. 9 illustrates an example of operation of the gain controller 280.

FIG. 9 illustrates an example of gain control shown by Step S16 of FIG.4. The gain controller 280 receives the speech score SS, the music scoreSM, and the noise score SN supplied from the score calculator 250. Thegain controller 280 also receives the regularized environmental soundPmic from the environmental sound analyzer 260.

The gain controller 280 determines a sound type which is dominant in theaudio signal. Specifically, the gain controller 280 determines a soundtype which is dominant in the audio signal, based on the speech scoreSS, the music score SM, and the noise score SN supplied from the scorecalculator 250.

The gain controller 280 determines whether the music score SM is highestor not (Step S51). Specifically, the gain controller 280 compares thespeech score SS, the music score MM and the noise score SN, anddetermines whether the music score SM is highest or not. When it isdetermined that the music score SM is highest, the gain controller 280determines that music is dominant. Specifically, the gain controller 280determines that music is the main component of the audio signal.

When it is determined at Step S51 that music is dominant, the gaincontroller 280 performs gain stabilizing processing described later(Step S52). Thereby, the gain controller 280 calculates a stabilizedgain. When the music component is dominant, it is effective to increasethe volume to change the playback sound to be heard more easily. Whenthe sound has high followability to an environmental sound which greatlyfluctuates, however, the volume of the music fluctuates, and the musicis difficult to hear. Therefore, in this case, it is desirable tostabilize the gain value to be corrected.

In addition, the gain controller 280 corrects the gain of the wholebands to be large (Step S53). For example, the gain controller 280corrects the gain such that the volume of the whole bands increases inaccordance with the average intensity of the environmental sound.

The gain controller 280 outputs the corrected gain to the equalizer 220(Step S54).

When it is determined at Step S51 that music is not dominant, the gaincontroller 280 performs masking correction (Step S55). Specifically, thegain controller 280 sets the masking gain which is supplied from theenvironmental sound analyzer 260, as the gain.

In addition, the gain controller 280 determines whether the noise scoreSN is less than a preset threshold level or not (Step S56). When it isdetermined that the noise score SN is less than the preset thresholdlevel, the gain controller 280 goes to Step S53. When it is determinedthat the noise score SN is equal to or higher than the preset thresholdlevel, the gain controller 280 goes to Step S54.

Thereby, the gain controller 280 can perform control such that the gainis further increased when the noise is small. In addition, when thenoise is large, the gain controller 280 outputs the predetermined gainwithout any processing. As a result, the gain controller 280 can controlthe gain in accordance with intensity of the noise. The gain controller280 may have a structure of amplifying the predetermined gain at apercentage smaller than that adopted at Step S53, when the noise islarge. When a noise component as well as human speech is included in theplayback sound itself, these noise components are amplified byincreasing the volume, and thereby the sound becomes difficult to hear.Therefore, although the whole volume is increased when it is found thatthe noise score of the playback sound is not large, the whole volume isnot increased or moderately increased when the noise score is large.Therefore, appropriate volume control can be performed according to thecontent of the playback sound.

FIG. 10 illustrates an example of gain stabilizing processing.

The gain controller 280 performs gain stabilizing processing, andthereby suppresses fluctuations of the value of the gain to bemultiplied by the audio signal in which music is dominant.

First, the gain controller 280 calculates a temporary gain Gtmp (StepS61). For example, when the power of the regularized environmental soundsupplied from the environmental sound analyzer 260 is Pmic and a presetcoefficient is α, the gain controller 280 calculates the temporary gainGtmp based on the following numerical expression 1.

$\begin{matrix}{G_{tmp} = 10^{\frac{{Pmic} \times \alpha}{20}}} & \lbrack {{Expression}\mspace{14mu} 1} \rbrack\end{matrix}$

The gain controller 280 determines whether the music score SM is equalto or higher than a preset threshold level ThMsLv (Step S62). When it isdetermined at Step S62 that the music score SM is equal to or higherthan the preset threshold level, the gain controller 280 clips thetemporary gain Gtmp (Step S63). Specifically, when the calculatedtemporary gain Gtmp has a value which falls out of a preset gain range,the gain controller 280 controls the temporary gain Gtmp to fall withinthe preset range.

For example, when the value of the calculated temporary gain Gtmpexceeds the preset range, the gain controller 280 calculates an upperlimit value of the preset range as the temporary gain Gtmp. When thevalue of the calculated temporary gain Gtmp is less than the presetrange, the gain controller 280 calculates a lower limit value of thepreset range as the temporary gain Gtmp.

The gain controller 280 may have a structure of storing a gain which iscalculated based on the audio signal of the previous frame, andcontrolling the temporary gain Gtmp such that a difference between thestored gain and the temporary gain Gtmp is less than a presetpredetermined value.

The gain controller 280 sets a value of the clipped temporary gain Gtmpas the gain (Step S64). Specifically, when it is determined that a soundtype of the main component of the audio signal is music, the gaincontroller 280 converts the temporary gain Gtmp into a value which fallswithin the preset range, and sets the value as the gain.

When it is determined at Step S62 that the music score SM is less thanthe preset threshold level, the gain controller 280 sets the value ofthe temporary gain Gtmp as the gain (Step S65).

As described above, the gain controller 280 controls the value of thegain to fall within the predetermined range, when the main component ofthe audio signal is music and the level of the music is equal to orhigher than a predetermined level. Thereby, the audio controller 200 cancorrect the audio signal with a stable gain. Specifically, the audiocontroller 200 can stabilize the corrected audio signal.

Consequently, it is possible to provide an audio controlling apparatus,an audio correction apparatus, and an audio correction method, which canrealize sound with higher sound quality.

FIG. 11 illustrates another example of the gain stabilizing processing.

The gain controller 280 performs the gain stabilizing processing, andthereby suppresses fluctuations of the value of the gain to bemultiplied by the audio signal in which music is dominant.

First, the gain controller 280 calculates a temporary gain Gtmp (StepS71). For example, the gain controller 280 calculates the temporary gainGtmp based on the above Expression 1, when the power of the regularizedenvironmental sound supplied from the environmental sound analyzer 260is Pmic and a preset coefficient is α.

The gain controller 280 determines whether the music score SM is equalto or higher than a preset threshold level ThMsLv or not (Step S72).When it is determined at Step S72 that the music score SM is equal to orhigher than the preset threshold level, the gain controller 280determines whether a fixed gain is not preset (Step S73). The gaincontroller 280 includes a memory which stores a fixed gain. The gaincontroller 280 determines whether a fixed gain has already been set inthe memory or not. When the fixed gain has already been set, the gaincontroller 280 continuously uses the fixed gain which has already beenset.

When it is determined at Step S73 that the fixed gain is not set, thegain controller 280 determines whether the environmental sound is equalto or higher than a preset predetermined value or not (Step S74). Forexample, the environmental sound analyzer 260 compares the environmentalsound with the preset predetermined value, determines whether the valueof the environmental sound is equal to or higher than the presetpredetermined value, and supplies a comparison result to the gaincontroller 280. The gain controller 280 determines whether theenvironmental sound is equal to or higher than the preset predeterminedvalue, based on the result supplied from the environmental soundanalyzer 260.

When it is determined at Step S74 that the environmental sound is equalto or higher than the preset predetermined value, the gain controller280 stores the calculated temporary gain Gtmp to a predetermined memory(Step S75). The gain controller 280 includes a memory to store thetemporary gain Gtmp for a predetermined time. The gain controller 280successively stores temporary gains Gtmp in the memory.

Then, the gain controller 280 determines whether a preset predeterminedtime has passed or not (Step S76). For example, the gain controller 280determines whether a predetermined time has passed since the temporarygain Gtmp is first stored in the memory. The gain controller 280 mayhave a structure of determining whether at least a predetermined numberof temporary gains Gtmp are stored in the memory or not. The gaincontroller 280 may have a structure of determining whether apredetermined time has passed based on the number of frames.

When it is determined at Step S76 that a preset predetermined time haspassed, the gain controller 280 smoothes the temporary gains Gtmp whichare stored in the memory, and calculates a fixed gain (Step S77).

The gain controller 280 sets a value of the calculated fixed gain as thegain (Step S78). For example, the gain controller 280 calculates anaverage value of a plurality of temporary gains Gtmp, and sets thecalculated average value as fixed gain. The gain controller 280 may havea structure of calculating a median based on the temporary gains Gtmp,and setting the calculated median as fixed gain. The gain controller 280may have a structure of calculating an average value as described above,and further calculating an average value by using a predetermined numberof temporary gains Gtmp which are close to the calculated average value.

The gain controller 280 sets the value of the temporary gain Gtmp asgain, when it is determined at Step S72 that the music score SM is lessthan the preset threshold level ThMsLv, when it is determined at StepS74 that the environmental sound is less than the preset predeterminedvalue, or when it is determined at Step S76 that the presetpredetermined time has not passed (Step S79).

As described above, the gain controller 280 uses the temporary gain Gtmpas gain, until a predetermined time has passed. In addition, the gaincontroller 280 calculates a fixed gain based on the temporary gains Gtmpwhich are stored during a predetermined time, and uses the fixed gain asgain. According to the above structure, the gain controller 280 can usea more stable gain. Specifically, the gain controller 280 can suppressinfluence of a momentary environmental sound, since the temporary gainGtmps are calculated based on change in the environmental sound during apredetermined time since the environmental sound which is not less thanthe predetermined value has been detected, and a fixed gain iscalculated based on the calculated temporary gains Gtmp.

Thereby, the audio controller 200 can correct the audio signal by usinga more stable gain. Specifically, the audio controller 200 can stabilizethe corrected audio signal more effectively. Consequently, it ispossible to provide an audio controlling apparatus, an audio correctionapparatus, and an audio correction method, which can realize sound ofhigher quality.

Functions described in the above embodiment may be constituted not onlywith use of hardware but also with use of software, for example, bymaking a computer read a program which describes the functions.Alternatively, the functions each may be constituted by appropriatelyselecting either software or hardware.

While certain embodiments have been described, these embodiments havebeen presented by way of example only, and are not intended to limit thescope of the inventions. Indeed, the novel embodiments described hereinmay be embodied in a variety of other forms; furthermore, variousomissions, substitutions and changes in the form of the embodimentsdescribed herein may be made without departing from the spirit of theinventions. The accompanying claims and their equivalents are intendedto cover such forms or modifications as would fall within the scope andspirit of the inventions.

What is claimed is:
 1. An audio correction apparatus for correcting anaudio signal, the audio correction apparatus comprising: a firstreceiver configured to receive the audio signal; a second receiverconfigured to receive an environmental sound; a masking gain calculatorconfigured to calculate a masking gain, based on the environmental soundreceived by the second receiver and the audio signal received by thefirst receiver; a sound type determination module configured todetermine a sound type of a main component of the audio signal receivedby the first receiver; a gain controller configured to: calculate atemporary gain based on the environmental sound received by the secondreceiver, convert the temporary gain into a first value falling within apreset range to limit fluctuations of the temporary gain, and set thefirst value as a corrected gain, when it is determined that the soundtype of the main component of the audio signal received by the firstreceiver is music, and set the masking gain multiplied by a presetcoefficient as the corrected gain, when it is determined that the soundtype of the main component of the audio signal received by the firstreceiver is not music; an equalizer configured to correct the audiosignal based on the corrected gain and provide a corrected audio signal.2. The audio correction apparatus of claim 1, wherein the gaincontroller is further configured to: store a plurality of temporarygains, which are calculated by the temporary gain calculator in a presetpredetermined period, calculate a fixed gain based on the plurality oftemporary gains, and set the fixed gain as the gain.
 3. The audiocorrection apparatus of claim 2, wherein the gain controller is furtherconfigured to store the temporary gain, when the environmental soundreceived by the second receiver has a level which is equal to or higherthan a preset predetermined value.
 4. The audio correction apparatus ofclaim 2, wherein the gain controller is configured to set the temporarygain as the gain for the predetermined period.
 5. The audio correctionapparatus of claim 2, wherein the gain controller is configured to setan average value of the plurality of temporary gains as the gain.
 6. Theaudio correction apparatus of claim 2, wherein the gain controller isconfigured to set a median of the plurality of temporary gains as thegain.
 7. The audio correction apparatus of claim 1, wherein the gaincontroller is configured to set an upper limit value of a preset rangeas the gain when a value of the temporary gain exceeds the preset range,and to set a lower limit value of the preset range as the gain when thevalue of the temporary gain is less than the preset range.
 8. The audiocorrection apparatus of claim 1, further comprising: a score calculatorconfigured to calculate a score of noise which is included in the audiosignal received by the first receiver, wherein the gain controller isconfigured to set a value, which is obtained by increasing the maskinggain based on a preset coefficient, as the gain, when the score of noisecalculated by the score calculator is less than a preset predeterminedvalue.
 9. An audio correction method for correcting an audio signal byan audio correction apparatus, comprising: receiving an audio signalwith the audio correction apparatus; receiving an environmental sound;calculating a masking gain based on the environmental sound and theaudio signal; calculating a temporary gain based on the environmentalsound; converting the temporary gain into a first value falling within apreset range to limit fluctuations of the temporary gain; determining asound type of a main component of the audio signal; setting the firstvalue as a corrected gain, when it is determined that the sound type ofthe main component of the audio signal is music; setting the maskinggain multiplied by a preset coefficient as the corrected gain, when itis determined that the sound type of the main component of the audiosignal is not music; correcting the audio signal based on the correctedgain; and outputting the corrected audio signal.
 10. An audio controllerfor correcting an audio signal, the audio controller comprising: acharacteristic parameter calculator that calculates a first plurality ofcharacteristic parameters based on the audio signal; a score calculatorthat uses the first plurality of characteristic parameters to calculatea speech and music discrimination score, a music and background sounddiscrimination score, and a noise score; if the speech and musicdiscrimination score indicates that the main component of the audiosignal is speech, then the score calculator further: sets a music scoreto zero; sets a speech score to the absolute value of the speech andmusic discrimination score; and adds the absolute value of the music andbackground sound discrimination score multiplied by a first presetcoefficient as to the speech score if the music and background sounddiscrimination score indicates that the main component of the audiosignal is background sound; if the speech and music discrimination scoreand the music and background sound discrimination score both indicatethat the main component of the audio signal is music, then the scorecalculator further: sets the speech score to zero; and sets the musicscore to the absolute value of the speech and music discriminationscore; if the speech and music discrimination score indicates that themain component of the audio signal is music and the music and backgroundsound discrimination score indicates that the main component of theaudio signal is background sound, then the score calculator further:sets the speech score to the absolute value of the music and backgroundsound discrimination score multiplied by the preset coefficient, minusthe absolute value of the speech and music discrimination score; andsets the music score to the absolute value of the speech and musicdiscrimination score minus the absolute value of the music andbackground sound discrimination score multiplied by a second presetcoefficient; a gain controller that calculates a gain based on thespeech score and the music score; and an equalizer that corrects theaudio signal based on the gain and outputs a corrected audio signal. 11.The audio controller of claim 10, wherein the score calculator furtheruses the first plurality of characteristic parameters to calculate anoise score, and the gain controller calculates the gain based furtheron the noise score.
 12. The audio controller of claim 10, furthercomprising an environmental sound analyzer that compares anenvironmental sound with the audio signal to generate a comparisonresult, and the gain controller calculates the gain based further on thecomparison result.
 13. The audio controller of claim 12, wherein thescore calculator further uses the first plurality of characteristicparameters to calculate a noise score, and the gain controllercalculates the gain based further on the noise score.
 14. The audiocontroller of claim 10, wherein the characteristic parameter calculatorperforms Fast Fourier Transform (FFT) processing on the audio signal,calculates a frequency characteristic, and calculates the firstplurality of characteristic parameters based on the frequencycharacteristic and a signal characteristic in a time domain.
 15. Theaudio controller of claim 10, wherein the score calculator: selects asecond plurality of characteristic parameters from the first pluralityof characteristic parameters and sums the second plurality ofcharacteristic parameters multiplied by a first plurality ofpredetermined coefficients to calculate the speech and musicdiscrimination score; and selects a third plurality of characteristicparameters from the first plurality of characteristic parameters andsums the third plurality of characteristic parameters multiplied by asecond plurality of predetermined coefficients to calculate the musicand background sound discrimination score.
 16. The audio controller ofclaim 10, wherein the score calculator calculates the noise score basedon spectral flatness for each of a plurality of frequency bands.